﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Data.Repository;
using ShivamEMR.Data;
using ShivamEMR.Model.Domain.UserDomain;
using ShivamEMR.Model.Domain;
using ShivamEMR.Model.DataInterfaces.UsersDataInterf;

namespace ShivamEMR.Data.Repository.UserRepo
{
   public class UserRoleRepository: Repository<UserRole> , IUserRoleRepository
    {
       public UserRoleRepository(Context context) : base(context) { }



       public ICollection<UserRight> GetAllRights()
       {
        return  Context.UserRights.ToList();
       }
    }
}
